package com.platform.common.enums;

import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Getter;


/**
 * <p>
 *
 * </p>
 *
 * @author： yuanlai
 * @since 2021-06-17
 */
@Getter
@AllArgsConstructor
public enum TestEnum {
    PS_1(1,"海外代理数量 同比/环比"),
    PS_2(2,"销售货量 同比、环比，可合并"),
    PS_3(3,"2222"),
    ;

    private Integer code;
    private String name;

    public boolean isEquals(Integer code) {
        return this.getCode().equals(code);
    }
}

